package net.zjvis.lab.nebula.backend.lib.algorithm.conf.connector;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

@Builder
@Getter
@Setter
@EqualsAndHashCode
public class CsvFile implements Connector {
    @JsonProperty("file_path")
    private String filePath;
    @Builder.Default
    private String separator = ",";
    @Builder.Default
    private String header = "infer";
    @JsonProperty("join_root_path")
    @Builder.Default
    private boolean joinRootPath = true;
    @JsonProperty("if_write_file_exists")
    @Builder.Default
    private String ifWriteFileExists = "recreate";
}
